graph TB
    subgraph "并行协作模式"
        P1[前端智能体]
        P2[后端智能体]
        P3[数据库智能体]
        P4[测试智能体]
        
        P1 --> P_SYNC[同步节点]
        P2 --> P_SYNC
        P3 --> P_SYNC
        P4 --> P_SYNC
        
        P_SYNC --> P_RESULT[电商平台集成系统]
        
        style P1 fill:#e1f5fe
        style P2 fill:#e1f5fe
        style P3 fill:#e1f5fe
        style P4 fill:#e1f5fe
        style P_SYNC fill:#f3e5f5
        style P_RESULT fill:#e8f5e8
    end
    
    subgraph "串行协作模式"
        S1[需求分析智能体] --> S2[数据处理智能体]
        S2 --> S3[模型训练智能体]
        S3 --> S4[部署优化智能体]
        
        S1 -.-> S1_OUT[需求文档+上下文]
        S2 -.-> S2_OUT[清理数据+处理逻辑]
        S3 -.-> S3_OUT[训练模型+参数配置]
        S4 -.-> S4_RESULT[智能推荐系统]
        
        style S1 fill:#fff3e0
        style S2 fill:#fff3e0
        style S3 fill:#fff3e0
        style S4 fill:#fff3e0
        style S4_RESULT fill:#e8f5e8
    end
    
    subgraph "混合协作模式"
        H_PM[项目管理Agent]
        
        subgraph "阶段1: 串行需求分析"
            H1[需求智能体] --> H2[架构智能体]
        end
        
        subgraph "阶段2: 并行开发"
            H3[UI智能体]
            H4[API智能体]
            H5[数据智能体]
        end
        
        subgraph "阶段3: 串行集成"
            H6[集成智能体] --> H7[测试智能体]
        end
        
        H_PM --> H1
        H2 --> H3
        H2 --> H4
        H2 --> H5
        H3 --> H6
        H4 --> H6
        H5 --> H6
        H7 --> H_RESULT[企业级Web应用]
        
        style H_PM fill:#f8bbd9
        style H1 fill:#fff3e0
        style H2 fill:#fff3e0
        style H3 fill:#e1f5fe
        style H4 fill:#e1f5fe
        style H5 fill:#e1f5fe
        style H6 fill:#fff3e0
        style H7 fill:#fff3e0
        style H_RESULT fill:#e8f5e8
    end
    
    classDef parallel fill:#e1f5fe,stroke:#01579b,stroke-width:2px
    classDef serial fill:#fff3e0,stroke:#e65100,stroke-width:2px
    classDef hybrid fill:#f3e5f5,stroke:#4a148c,stroke-width:2px
    classDef result fill:#e8f5e8,stroke:#1b5e20,stroke-width:2px
    classDef manager fill:#f8bbd9,stroke:#880e4f,stroke-width:2px